package com.rp.admin.controller;

import cn.hutool.crypto.digest.BCrypt;

public class TestMain {
    public static void main(String[] args) {
        System.out.println("==================================");

        String admin = BCrypt.hashpw("admin", BCrypt.gensalt());

        System.out.println("------------------admin-->" + admin);
        boolean admin1 = BCrypt.checkpw("admin", admin);
        System.out.println("====>" + admin1);
    }
}
